package org.bemuv;

import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseUser;
import android.app.Application;

public class BemuvApplication extends Application {

	
	
	
	// Variables temporales
	private String temp1="";
	private String temp2="";
	private String temp3="";
	private boolean temp4=false;
	private boolean temp5=false;
	
	
	//Leyendo informacion temporal
	
	public String getState1(){
	    return temp1;
	  }
	
	public String getState2(){
	    return temp2;
	  }
	
	public String getState3(){
	    return temp3;
	  }
	
	public boolean getState4(){
	    return temp4;
	  }
	public boolean getState5(){
	    return temp5;
	  }
	
	
	
	
	// Guardando informacion temporal
	  public void setState1(String s){
		  temp1 = s;
	  }
	  public void setState2(String s){
		    temp2 = s;
		  }
	  public void setState3(String s){
		    temp3 = s;
		  }
	  public void setState4(boolean s){
		    temp4 = s;
		  }

	  public void setState5(boolean s){
		    temp5 = s;
		  }

	

	
	
	
	
	
	@Override
	public void onCreate() {
		super.onCreate();
		
		
		
		
		// Inicializando 
		Parse.initialize(this, "3U0cUBeAOysAHseRcwc1l8MdXJ6V4QHnmlqwTLbR", "hiVPdJ7HkxMnhHgI8gsy8QCoymywzTstA3MY0izt");
		//Parse.initialize (this, Aplication ID, Cliente Key);


		
		ParseACL defaultACL = new ParseACL();
	    
		// Objetos publicos
		defaultACL.setPublicReadAccess(true);
		
		ParseACL.setDefaultACL(defaultACL, true);
	}

}
